package net.xdclass.component;

import net.xdclass.vo.PayInfoVo;

/**
 * @Author NJUPT wly
 * @Date 2021/9/29 12:19 下午
 * @Version 1.0
 */

public interface PayStrategy {

    /**
     * 下单
     * @return
     */
    String unifiedorder(PayInfoVo payInfoVo);

    /**
     * 退款
     * @param payInfoVo
     * @return
     */
    default String refund(PayInfoVo payInfoVo){return "";}

    /**
     * 查询支付是否成功
     * @param payInfoVo
     * @return
     */
    default String queryPaySuccess(PayInfoVo payInfoVo){return "";};
}
